<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    姓名：<input type="text" name="name"><br>
    年龄：<input type="text" name="age"><br>
    性别：<input type="text" name="sex"><br>
    爱好：<input type="text" name="hobby"><br>
    简历：<input type="text" name="content"><br>
    头像：<input type="file" name="icon"><br>
    <input type="submit" value="提交">
</form>
</body>
</html>